<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>脱标</title>

    <style>
        .box1 {
            width: 200px;
            height: 200px;
            background-color: pink;
            float: left;
        }

        .box2 {
            width: 500px;
            height: 500px;
            background-color: blue;
        }
    </style>

</head>
<body>
    
    <img src="浮动特性-脱标.png" alt="">

    <br><br>

    <div class="box1">浮动盒子</div>
    <div class="box2">标准流盒子</div>

</body>
</html>